<?php
	// these are include_once() instead of require_once() because the extra fill
	// in utility needs to require this file without errors, and the paths are
	// never going to be correct
	include_once('modules/pd_character.php');

	class AlertAccount {
		private $id;
		private $name;
		private $level;
		private $validation;

		public function __construct($id = 0, $name, $level, $validation) {
			$this->id = $id;
			$this->name = $name;
			$this->level = $level;
			$this->validation= $validation;
		}
		
		public function getId() {
			return $this->id;
		}

		public function getName() {
			return $this->name;
		}
		
		public function getLevel() {
			return $this->level;
		}

		public function drawName() {
			$char = new PD_Character($_SESSION["account"]->getUniverse(), $this->name);
			$char->drawName();
		}

		public function getValidation() {
			return $this->validation;
		}

	}
?>